package com.varian.system.dto;

import com.varian.system.enums.DictValueTypeEnum;
import com.varian.tool.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author ben
 * @since 2024/7/9
 */
@Data
@Schema(title = "字典类型数据对象")
public class SysDictTypeDTO {

    @Schema(title = "字典名称")
    @NotBlank(message = "字典名称不能为空")
    private String dictName;
    @Schema(title = "字典编码")
    @NotBlank(message = "字典编码不能为空")
    private String dictCode;
    @Schema(title = "字典类型")
    @NotNull(message = "字典类型不能为空")
    private DictValueTypeEnum dictValueType;
    @Schema(title = "字典描述")
    private String dictDesc;
    @Schema(title = "字典状态")
    @NotNull(message = "字典状态不能为空")
    private CommonStatusEnum dictStatus;
}
